package com.anjubao.parking.municipal.parkinglot.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
@ApiModel(value = "PositionScreeningParkingLotForm",description = "停车场位置筛选表单实体")
@ToString
public class PositionScreeningParkingLotForm  {

	@NotNull
	@ApiModelProperty(value = "纬度-10位,小数6位",required = true)
	private Double latitude;

	@NotNull
	@ApiModelProperty(value = "经度-10位,小数6位",required = true)
	private Double longitude;

	@ApiModelProperty(value = "距离 默认值为10000米")
	private Integer distance=10000;

	@ApiModelProperty(value = "单页记录数")
	private Integer pageSize=9999;

	@ApiModelProperty(value = "当前页数")
	private Integer page=1;


}
